﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSystem.Domain.Entities
{
    /// <summary>
    /// 城市表
    /// </summary>
    public class City 
    {
        /// <summary>
        /// 城市编号
        /// </summary>
        [Key]
        public int CityId { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        [StringLength(50)]
        public string CityName { get; set; }
        /// <summary>
        /// 省级编号
        /// </summary>
        public int ProvinceId { get; set; }
    }
}
